#pragma once
#include <map>
#include <string>
class FlashDevice
{
private:
	int _size; // _size - number of extents
	std::map<std::string, int>* _extents;
public:
	FlashDevice(int size); 
	virtual ~FlashDevice(void);
	void updateExtents(std::map<std::string, int>* extents);
	bool exist(std::string extentIO);
};

